export NNN_BMS='b:/home/sloera/.config/nnn/bookmarks;t:/home/sloera/.deepinwine/Spark-TIM/drive_c/Program Files/Tencent/TIM/Users/1476349778/FileRecv/;w:/home/sloera/Documents/WeChat Files/wxid_1y2lntqm0ce121/FileStorage/File/2021-12;n:/home/data/data/git/gitee/Note/工作/2021/12月;r:/home/sloera/.config/ibus/rime;I:/home/data/data/Code/Inspur/;C:/home/data/data/Code/git/;l:/home/sloera/local'
export NNN_ORDER='t:/home/sloera/.deepinwine/Spark-TIM/drive_c/Program Files/Tencent/TIM/Users/1476349778/FileRecv;t:/home/sloera/Documents/WeChat Files/wxid_1y2lntqm0ce121/FileStorage/File/2021-12;t:/home/data/data/git/gitee/Note/工作/2021/12月'
export NNN_SSHFS="sshfs -o follow_symlinks"        # make sshfs follow symlinks on the remote
export NNN_COLORS="2136"                           # use a different color for each context
export NNN_COPIER="/usr/bin/xsel"
# binary options to nnn
export NNN_OPTS="cEdrx"
# custom opener (see plugin nuke)
# export NNN_OPENER="/path/to/custom/opener" 
# key-bookmark pairs
# export NNN_BMS="d:$HOME/Documents;D:$HOME/Docs archive/"
# key-plugin (or cmd) pairs
# export NNN_PLUG='o:fzopen;m:nmount;x:!chmod +x $nnn'
# directory-specific ordering
# export NNN_ORDER='t:/home/user/Downloads;S:/usr/bin'
# archives [default: bzip2, (g)zip, tar]
export NNN_ARCHIVE="\\.(7z|bz2|gz|tar|tgz|zip)$"
# context colors [default: '4444' (blue)]
# export NNN_COLORS='1234' (/'#0a1b2c3d'/'#0a1b2c3d;1234')
# file-specific colors
# export NNN_FCOLORS='c1e2272e006033f7c6d6abc4'
# custom SSHFS cmd
# export NNN_SSHFS='sshfs -o reconnect,idmap=user'
# custom rclone cmd
# export NNN_RCLONE='rclone mount --read-only'
# use desktop Trash [default: delete]
# export NNN_TRASH=n (n=1: trash-cli, n=2: gio trash) 
# custom selection file
export NNN_SEL='/tmp/.sel' 
# FIFO to write hovered file path to
# export NNN_FIFO='/tmp/nnn.fifo'
# terminal locker
# export NNN_LOCKER='saidar -c' 
# always cd on quit
export NNN_TMPFILE='/tmp/.lastd' 
# run cmd, show o/p on help page
# export NNN_HELP='pwy paris' 
# key emulated by middle mouse click
# export NNN_MCLICK='^R' (/'m')
# disable ANSI color output
# export NO_COLOR=1
# export NNN_TRASH=1                                 # trash (needs trash-cli) instead of delete
# export VISUAL=ewrap
export EDITOR=vim

alias ncp="cat ${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection} | tr '\0' '\n'"

if [ -f /usr/share/nnn/quitcd/quitcd.bash_zsh ]; then
    source /usr/share/nnn/quitcd/quitcd.bash_zsh
fi
